import React from 'react'
import {useSearchParams} from 'react-router-dom'
import { Button, Toast ,Image} from 'antd-mobile'
function Index() {
    let [Params]=useSearchParams()
    let name=Params.get('name')
     let img=Params.get('img')
    
  return (
    <div>
        <Image src={img} style={{width:'150px',height:'150px'}}/>
    <p>{name}</p>
    </div>
  )
}

export default Index
